#define _CRT_SECURE_NO_WARNINGS 1

#include "Stack.h"

void test()
{
	ST st;
	STInit(&st);

	STPush(&st, 10);
	STPush(&st, 9);
	STPush(&st, 5);
	STPush(&st, 1);
	STPush(&st, 3);
	STPush(&st, 19);

	while (!STEmpty(&st))
	{
		int top = STTop(&st);

		printf("%d ", top);

		STPop(&st);
	}
	
}
int main()
{
	test();
	return 0;
}